package cate.game.play.vo;

import cate.game.play.part.TeamVS;
import com.fasterxml.jackson.annotation.JsonProperty;

public class FightStatVO {

	@JsonProperty("1")
	public TeamStatVO a;

	@JsonProperty("2")
	public TeamStatVO b;

	public FightStatVO read(TeamVS teamEnd){
		a = new TeamStatVO().read(teamEnd.a);
		b = new TeamStatVO().read(teamEnd.b);
		return this;
	}

	public void merge(FightStatVO stat){
		a.merge(stat.a);
		b.merge(stat.b);
	}

	public void divide(int num){
		a.divide(num);
		b.divide(num);
	}


}
